real-time monitoring and instruction of cancer pain